package com.dgty.dg_common.util.voice;

/**
 * Title: SpeakingListener.java
 * Description:语音播放状态监听器
 * Created DateTime: 2023-03-18
 * Created by xxl.
 */
public interface SpeakingListener {

    /**
     *开始
     */
    public void onSpeakBegin();

    /**
     *暂停
     */
    public void onSpeakPaused();

    /**
     *重新开始
     */
    public void onSpeakResumed();

    /**
     *完成
     * @param speechError
     */
    public void onCompleted(String speechError);
}
